import { Equal } from "@type-challenges/utils";

export type ConstructTuple<L extends number, Result extends any[] = []> = Equal<
  L,
  Result["length"]
> extends true
  ? Result
  : ConstructTuple<L, [...Result, unknown]>;

type CT = ConstructTuple<2>;
